package net.zjitc.yaobei_backed.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Date;
import java.sql.Timestamp;

/**
 * 学习任务实体（对应study_task表）
 */
@Data
@TableName("study_task")
public class StudyTask {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    private Integer wordbookId;

    private Integer targetWords;

    private Integer finishedWords;

    private Date taskDate;

    private String status;

    private Timestamp createdAt;
}









